import $http from './request.js';
// 获取手机验证码api
function getPhoneCodeApi(data){
    return $http({
        url:'/sendsms',
        method:'post',
        data
      })
}
// 注册api
function registerUserAPI(data){
    return $http({
        url:'/register',
        method:'post',
        data
      })
}
export {getPhoneCodeApi,registerUserAPI}

